package foo;

import com.google.common.base.Predicate;

/**
 * For Testing.
 * 
 * @author John Chilton
 *
 */
public class FooPredicate implements Predicate<Integer>, org.apache.commons.collections.Predicate {

  /**
   * Dummy apply method for testing.
   * 
   * @param arg An Integer
   * @return A boolean
   */
  public boolean apply(final Integer arg) {
    return !arg.equals(42);
  }

  /**
   * Dummy evaluate method for testing.
   * 
   * @param arg An Integer
   * @return A boolean
   */
  public boolean evaluate(Object arg) {
    return !arg.equals(42);
  }

}
